// let val: number | string;
// val = "Test Val";
// val = 88;
// console.log(val);
//88

interface InterNumber {
    numberValue: number;
}

interface InterString {
    stringValue: string;
}

let obj: InterNumber & InterString;
obj = { numberValue: 888, stringValue: "I love TypeScript~" };
console.log(obj.stringValue)
//I love TypeScript~